package com.wise.service.cms.content.categorysindustry;

import com.wise.summer.v1.cms.content.categorys.ListCategorys;
import com.wise.summer.v1.cms.content.categorysindustry.ListCategorysIndustry;
import org.springframework.stereotype.Service;
import org.summerframework.model.SummerService;
import org.summerframework.model.SummerServiceBean;

/**
 * @author shaoming
 * @date 2019-09-10
 */
@Service
@SummerService
public class ListCategorysIndustryService implements SummerServiceBean<ListCategorysIndustry> {

	@Override
	public void sum(ListCategorysIndustry summer) {
		ListCategorys listCategorys = new ListCategorys();
		listCategorys.setCategoryType(1);
		listCategorys.sum();
		summer.setSummerResult(listCategorys.getSummerResult());

	}

}
